//AS3///////////////////////////////////////////////////////////////////////////
// 
// Copyright 2010 
// 
////////////////////////////////////////////////////////////////////////////////

package
{

	import flash.events.Event;
	import flash.display.Sprite;
	import Main;

	/**
	 * Application entry point for RealtyAndInvestmentDemo.
	 * 
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 9.0
	 * 
	 * @author alex
	 * @since 04.03.2010
	 */
	public class RealtyAndInvestmentDemo extends Sprite
	{
	
		/**
		 * @constructor
		 */
		public function RealtyAndInvestmentDemo()
		{
			super();
			stage.addEventListener( Event.ENTER_FRAME, initialize );
		}

		/**
		 * Initialize stub.
		 */
		private function initialize(event:Event):void
		{
			stage.removeEventListener( Event.ENTER_FRAME, initialize );
			trace( "RealtyAndInvestmentDemo::initialize()" );
			addChild(new Main());
		}
	
	}

}